#ifndef _GETCODE_H
#define _GETCODE_H

#define DBG_GCD		1

#ifdef DBG_GCD
#define DBG_GCD0(str);				printf("GetCode(): "); printf(str);
#define DBG_GCD_CODE(str);			printf("GetCode() CODE: "); printf(str);
#define DBG_GCD1(str,arg1);			printf("GetCode(): "); printf(str,arg1);
#define DBG_GCD2(str,arg1,arg2);		printf("GetCode(): "); printf(str,arg1,arg2);
#define DBG_GCD_PU8(str,arg);		printf("GetCode(): "); printf(str); pU4(arg); printf("\n\n");
#define DBG_GCD_PS8(str,arg);		printf("GetCode(): "); printf(str); pS4(arg); printf("\n\n");		
#else
#define DBG_GCD0(str);
#define DBG_GCD_CODE(str);			printf("GetCode() CODE: "); printf(str);
#define DBG_GCD1(str,arg1);
#define DBG_GCD2(str,arg1,arg2); 
#define DBG_GCD_PU8(str,arg);
#define DBG_GCD_PS8(str,arg);
#endif	

//U1 GetCode(U4 *current_byte);
unsigned short  GetCode();

#endif
